<div>
    <div class="row">
        <div class="col-md-2 padding-r-0">
            <vc:create path="shop/adminShop"></vc:create>
        </div>
        <div class="col-md-10">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="查询条件"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请填写订单','adminGroupOrder')"
                                    v-model="adminGroupOrderInfo.conditions.orderId" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请填写产品名称','adminGroupOrder')"
                                    v-model="adminGroupOrderInfo.conditions.prodName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请填写购买者','adminGroupOrder')"
                                    v-model="adminGroupOrderInfo.conditions.buyerName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <div class="form-group">
                                <input type="text" :placeholder="vc.i18n('请选择团长','adminGroupOrder')"
                                    v-model="adminGroupOrderInfo.conditions.groupBuyerName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-2">
                            <select class="custom-select" v-model="adminGroupOrderInfo.conditions.state">
                                <option selected value="">
                                    {{vc.i18n('请选择状态','adminGroupOrder')}}
                                </option>
                                <option value="1001">
                                    {{vc.i18n('拼团成功','adminGroupOrder')}}
                                </option>
                                <option value="2002">
                                    {{vc.i18n('拼团失败','adminGroupOrder')}}
                                </option>
                                <option value="3003">
                                    {{vc.i18n('拼团中','adminGroupOrder')}}
                                </option>
                            </select>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryProductGroupOrderMethod()">
                                <i class="glyphicon glyphicon-search"></i> <span>
                                    <vc:i18n name="查询"></vc:i18n>
                                </span>
                            </button>
                        </div>
                    </div>

                </div>
            </div>

            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="拼团订单" namespace="adminGroupOrder"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">
                                    <vc:i18n name='订单ID' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">商品图片</th>
                                <th class="text-center">
                                    <vc:i18n name='商品名称' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='购买者' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='团长' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='购买数量' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='拼团人数' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='拼团金额' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='状态' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='返佣金额' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='开团时间' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='拼团时间' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                                <th class="text-center">
                                    <vc:i18n name='截止时间' namespace='adminGroupOrder'></vc:i18n>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="productGroupOrder in adminGroupOrderInfo.orders">
                                <td class="text-center">{{productGroupOrder.orderId}}</td>
                                <td class="text-center">
                                    <div style="position: relative; display: inline-block;">
                                        <img width="50" height="50" style="border-radius: 10px;"
                                            :src="productGroupOrder.coverPhoto" v-if="productGroupOrder.coverPhoto">
                                        <img width="50" height="50" style="border-radius: 10px;" src="/img/noPhoto.jpg"
                                            v-else>
                                    </div>
                                </td>
                                <td class="text-center">
                                    【{{productGroupOrder.userCount}}人团】{{productGroupOrder.prodName}}</td>
                                <td class="text-center">{{productGroupOrder.buyerName}}</td>
                                <td class="text-center">{{productGroupOrder.groupBuyerName}}</td>
                                <td class="text-center">{{productGroupOrder.buyerCount}}</td>
                                <td class="text-center">{{productGroupOrder.groupCount}}/{{productGroupOrder.userCount}}
                                </td>
                                <td class="text-center">{{productGroupOrder.groupPrice}}</td>
                                <td class="text-center">{{productGroupOrder.stateName}}</td>
                                <td class="text-center">{{productGroupOrder.rebateAmount}}</td>
                                <td class="text-center">{{productGroupOrder.openTime}}</td>
                                <td class="text-center">{{productGroupOrder.createTime}}</td>
                                <td class="text-center">{{productGroupOrder.endTime}}</td>
                            </tr>
                        </tbody>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
</div>